package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 商家-奖项(MerchantAwards)表实体类
 *
 * @author yxy
 * @since 2024-11-01 09:43:21
 */
@Data
@ApiModel("商家-奖项")
@TableName(value = "tb_merchant_awards")
public class MerchantAwards extends Model<MerchantAwards> implements Serializable {
    private static final long serialVersionUID = -84108447650401390L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("获奖名称")
    private String awardsName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("获奖时间")
    private Date awardsTime;

    @ApiModelProperty("图片")
    private String file;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("商家id")
    private Long merchantId;
}
